<div id="div-installment" class="grid-view">
<table class="items table">
<thead>
<tr>
<th id="mst-ndkHealth-grid3_c0">
Installment Ke
</a>
</th>
<th id="mst-ndkHealth-grid3_c1">
Due Date
</a>
</th>
</tr>
</thead>
<tbody id="body-duedate">
	<?php 
	$dueDateExplode = explode("|", $modelDueDate->due_date);
	for($i=0;$i<count($dueDateExplode);$i++){
	?>
<tr class="odd selected">	
	<td><?php echo $i+1; ?></td>
	<td>
		<input class="form-control" type="text" name="input_due_date" id="input_due_date<?php echo $i+1; ?>" data-mask="99-99-9999" value="<?php echo $dueDateExplode[$i]; ?>">
	</td>
</tr>
	<?php
	}
	?>
</tbody>
</table>
</div>